package com.sneaker.shower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.binarywang.wxpay.bean.order.WxPayMpOrderResult;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.sneaker.shower.entity.domain.order.PayOrderDO;
import com.sneaker.shower.entity.dto.WxPayParamDTO;

/**
 * @author Hechangjian
 * @version 1.0
 * @className PayService
 * @date 2019/12/01 1:59
 * @description
 * @program bath
 */
public interface PayService extends IService<PayOrderDO> {
    WxPayMpOrderResult payInfo(WxPayParamDTO wxPayParamDTO) throws WxPayException;

    String callBack(String xmlData);

    Boolean closeOrder(WxPayParamDTO wxPayParamDTO);

    Boolean isPaySuccess(String guid);
}
